﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Lead2012.Models;
using Lead2012.Business;

namespace Lead2012.ViewModels
{
    public class MilestoneViewModel : BaseViewModel
    {
        public List<MilestoneItem> ItemList { get; set; }
        public List<MilestoneReportItem> ReportList { get; set; }
        public List<ItemFilter> MilestoneList { get; set; }
        public MilestoneItem MilestoneInfo { get; set; }
        public List<ItemFilter> UserFilter { get; set; }
        public List<ItemFilter> SourceFilter { get; set; }
        public List<ItemFilter> RangeFilter { get; set; }
    }

    public class MilestoneItem : Milestone
    {
        public string MilestoneTitle { get; set; }
    }

    public class MilestoneReportItem
    {
        public int UserId { get; set; }
        public string Username { get; set; }
        public int NoneCount { get; set; }
        public string NonePercent { get; set; }
        public int ContactCount { get; set; }
        public string ContactPercent { get; set; }
        public int RateCount { get; set; }
        public string RatePercent { get; set; }
        public int TotalLeads { get; set; }
    }
}